export const BoxType = {
  SUCCESS: 'success',
  WARNING: 'warning',
  INFO: 'info',
  ERROR: 'error'
}

export const MenuType = {
  DIR: "DIR",
  MENU: "MENU",
  BUTTON: "BUTTON"
}

export const Placement = {
  TOP_LEFT: "topLeft",
  TOP_RIGHT: "topRight",
  BOTTOM_LEFT: "bottomLeft",
  BOTTOM_RIGHT: "bottomRight"
}

export const FormItemType = {
  INPUT: 'input',
  PASSWORD: 'password',
  TEXTAREA: 'textarea',
  NUMBER: 'number',
  SELECT: 'select',
  RADIO: 'radio',
  CHECKBOX: 'checkbox',
  SWITCH: 'switch',
  DATE: 'date',
  UPLOAD: 'upload'
};

export const CommonState = [
  {
    label: "是",
    value: 1
  },{
    label: "否",
    value: 0
  },
]

export const UserState = [
  {
    label: "正常",
    value: 1
  },{
    label: "禁用",
    value: 0
  },
]

export const DisplaySlide = [
  {
    label: "双列展示",
    value: 1
  },{
    label: "常规展示",
    value: 0
  },
]

export const DisplayRuleWay = [
  {
    label: "全部展示",
    value: 1
  },{
    label: "管理组",
    value: 2
  },{
    label: "注册组",
    value: 3
  },
]